<div class="card">
  <div class="card-header">{{ t('Primary configuration') }}</div>

  <div class="card-body">
    <p>
      {{ t('This server is not configured as a primary server in a replication process. You can choose from either replicating all databases and ignoring some of them (useful if you want to replicate a majority of the databases) or you can choose to ignore all databases by default and allow only certain databases to be replicated. Please select the mode:') }}
    </p>
    <select name="db_type" id="db_type">
      <option value="all">{{ t('Replicate all databases; Ignore:') }}</option>
      <option value="ign">{{ t('Ignore all databases; Replicate:') }}</option>
    </select>
    <p>{{ t('Please select databases:') }}</p>
    {{ database_multibox|raw }}
    <p>
      {{ t('Now, add the following lines at the end of [mysqld] section in your my.cnf and please restart the MySQL server afterwards.') }}
    </p>
    <pre id="rep"></pre>
    <p>
      {{ t('Once you restarted MySQL server, please click on Go button. Afterwards, you should see a message informing you, that this server <strong>is</strong> configured as primary.')|raw }}
    </p>
  </div>

  <div class="card-footer">
    <form method="post" action="{{ url('/server/replication') }}">
      {{ get_hidden_inputs('', '') }}
      <input id="goButton" class="btn btn-primary" type="submit" value="{{ t('Go') }}">
    </form>
  </div>
</div>
